Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Align with changes in latest ORM (unreleased) #1644

Closed
wants to merge 10 commits into from

Conversation

DavideD
Copy link
Member

@DavideD DavideD commented May 31, 2023

Upgrade to Hibernte ORM 6.4.2-SNAPSHOT
Note that until the final version is released, Hibernate Reactive will use the snapshot available from Sonatype.
It will be released tomorrow, so it should not cause too much trouble.

Remember to update the gradle.properties file accordingly if you want to test local changes with ORM.

Superseeds #1636
Fix #1645

@DavideD DavideD added this to the next milestone May 31, 2023
@DavideD DavideD requested a review from Sanne May 31, 2023 13:02
Comment on lines +1046 to +1049
actionDelegate.getSession()
.getFactory()
.getMetamodel()
.entityPersister( action.getEntityName() )
.entityPersister( actionDelegate.getEntityName() )

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation

Invoking [MetamodelImplementor.entityPersister](1) should be avoided because it has been deprecated.
import org.hibernate.event.spi.EventSource;
import org.hibernate.reactive.engine.ReactiveExecutable;

public final class ReactiveEntityInsertActionHolder implements Executable, ReactiveExecutable, ComparableExecutable,

Check warning

Code scanning / CodeQL

Inconsistent compareTo

This class declares [compareTo](1) but inherits equals; the two could be inconsistent.
@Sanne
Copy link
Member

Sanne commented May 31, 2023

Looks like exactly the same as #1636 , except some further gradle build script changes?

@DavideD
Copy link
Member Author

DavideD commented May 31, 2023

Yeah, sorry, I've added you as a reviewer but it was meant more as a FYI

@Sanne
Copy link
Member

Sanne commented May 31, 2023

np, but if it's only additional commits you could have pushed them on the existing PR.

@DavideD
Copy link
Member Author

DavideD commented May 31, 2023

This PR should work once we have the next 6.2 nightly build (I've tested it locally).

DavideD added 3 commits May 31, 2023 17:53
I don't why, but without it, these tests can stop with a timeout
exception.

It happens to me wiht MySQL when I test the build with all databases
and to Barry when testing MSSQL and JUnit 5.

I will review this later
@Sanne
Copy link
Member

Sanne commented Jun 1, 2023

Replaced by #1647

@Sanne Sanne closed this Jun 1, 2023
@DavideD DavideD removed this from the next milestone Jun 1, 2023
@DavideD DavideD deleted the NewQueue branch June 1, 2023 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade to Hibernate ORM 6.2.4.Final
2 participants